package com.dingxin.ship_together_api.controller;

import cn.dev33.satoken.annotation.SaCheckLogin;
import cn.dev33.satoken.annotation.SaCheckPermission;
import com.dingxin.ship_together_api.entity.constant.PermissionConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Author: ctj
 * Date: 2022-08-12
 * Time: 14:50
 */
@RestController
@RequestMapping("test")
@Api(tags = "测试")
public class TestController {

        @ApiOperation(value="创建条目")
        @ApiImplicitParams({
            @ApiImplicitParam(paramType = "query", name = "pageSize", value = "当前页数", required = false, dataType = "Integer"),

        })
        @RequestMapping("test")
        public String test() {
            return "test";
        }
}
